home *** CD-ROM | disk | FTP | other *** search
/ NBC Slam Jams! / NBC Slam Jams!.iso / nbademo.exe / CABFILE / IDR_CABFILE / Data / UIScript / GRPPOPUP.UI < prev    next >
Text File  |  1999-05-24  |  6KB  |  259 lines

  1. "2D\UI\Startup"
  2.  
  3. //********************
  4. //  Data Container
  5. //********************
  6. DataContainer {
  7.     Int "GraphicsPopupShowAgain" {
  8.         CheckButton "GraphicsPopupShowAgainButton";
  9.         InitialValue 5;
  10.     };
  11. };
  12.  
  13. //********************
  14. //  Images
  15. //********************
  16. Image "GraphicsPopupOKEnabled" {
  17.     Filename "GFXOKEn";
  18. };
  19. Image "GraphicsPopupOKFocused" {
  20.     Filename "GFXOKFoc";
  21. };
  22. Image "GraphicsPopupOKPushed" {
  23.     Filename "GFXOKPus";
  24. };
  25. Image "GraphicsPopupOptionsEnable" {
  26.     FileName "GFXOptEn";
  27. };
  28. Image "GraphicsPopupOptionsFocus" {
  29.     FileName "GFXOptFo";
  30. };
  31. Image "GraphicsPopupOptionsPush" {
  32.     FileName "GFXOptPu";
  33. };
  34. Image "GraphicsPopupCheckBoxEnabled" {
  35.     Filename "GFXCkbxE";
  36. };
  37. Image "GraphicsPopupCheckBoxFocused" {
  38.     Filename "GFXCkbxF";
  39. };
  40. Image "GraphicsPopupCheckBoxArmed" {
  41.     Filename "GFXCkbxA";
  42. };
  43. Image "GraphicsPopupAlphaBack" {
  44.     Filename "GFXBkgd";
  45. };
  46.  
  47. //********************************
  48. //  Fonts
  49. //********************************
  50. Font "GraphicsPopupOKEnabled" {
  51.     Filename "GOKFntEn";
  52.     Translate " abcdefghijklmnopqrstuvwxyz";
  53.     Kerning 1;
  54. };
  55. Font "GraphicsPopupOKFocused" {
  56.     Filename "GOKFntFo";
  57.     Translate " abcdefghijklmnopqrstuvwxyz";
  58.     Kerning 1;
  59. };
  60. Font "GraphicsPopupOKPushed" {
  61.     Filename "GOKFntPu";
  62.     Translate " abcdefghijklmnopqrstuvwxyz";
  63.     Kerning 1;
  64. };
  65. Font "GraphicsPopupTitleFont" {
  66.     Filename "GTitlFnt";
  67.     Translate " abcdefghijklmnopqrstuvwxyz";
  68.     Kerning 0;
  69. };
  70. // The following 3 fonts need an apostrophe
  71. Font "GraphicsPopupMainText" {
  72.     Filename "MainTxt";
  73.     Translate "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890()?.,;:!/'";
  74.     Kerning 1;
  75. };
  76. Font "GraphicsPopupCheckBoxEnabled" {
  77.     Filename "EBtnFnt";
  78.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ'";
  79.     Kerning 0;
  80. };
  81.  
  82.  
  83. //********************************
  84. //  Styles
  85. //********************************
  86. ButtonStyle "GraphicsPopupOKButton" {
  87.     Enabled Image "GraphicsPopupOKEnabled";
  88.     Focused Image "GraphicsPopupOKFocused";
  89.     Pushed Image "GraphicsPopupOKPushed";
  90.     Enabled Font "GraphicsPopupOKEnabled";
  91.     Focused Font "GraphicsPopupOKFocused";
  92.     Pushed Font "GraphicsPopupOKPushed";
  93. };
  94. ButtonStyle "GraphicsPopupOptionsButton" {
  95.     Enabled Image "GraphicsPopupOptionsEnable";
  96.     Focused Image "GraphicsPopupOptionsFocus";
  97.     Pushed Image "GraphicsPopupOptionsPush";
  98.     Enabled Font "GraphicsPopupOKEnabled";
  99.     Focused Font "GraphicsPopupOKFocused";
  100.     Pushed Font "GraphicsPopupOKPushed";
  101. };
  102.  
  103. Style "GraphicsPopupBack" {
  104.     Image "GraphicsPopupAlphaBack";
  105. };
  106. Style "GraphicsPopupTitleFont" {
  107.     Font "GraphicsPopupTitleFont";
  108. };
  109. Style "GraphicsPopupMainText" {
  110.     Font "GraphicsPopupMainText";
  111. };
  112. ButtonStyle "GraphicsPopupShowAgainButton" {
  113.     Enabled Image "GraphicsPopupCheckBoxEnabled";
  114.     Focused Image "GraphicsPopupCheckBoxFocused";
  115.     Pushed Image "GraphicsPopupCheckBoxFocused";
  116.     Armed Image "GraphicsPopupCheckBoxArmed";
  117.     PushedandArmed Image "GraphicsPopupCheckBoxEnabled";
  118.     Enabled Font "GraphicsPopupCheckBoxEnabled";
  119. //    PushedandArmed Font "GraphicsPopupCheckBoxEnabled";
  120. };
  121.  
  122.  
  123. //********************************
  124. //  Buttons
  125. //********************************
  126. CheckButton "GraphicsPopupShowAgainButton" {
  127.     ButtonStyle "GraphicsPopupShowAgainButton";
  128.     Position [50, 263];
  129.  
  130.     String "Don't show again." {
  131.         Justify TopLeft;
  132.         Position [20, 0];
  133.     };
  134. };
  135.  
  136. Button "GraphicsPopupOKButton" {
  137.     ButtonStyle "GraphicsPopupOKButton";
  138.     Position [434, 263];
  139.  
  140.     OK;
  141.     Default;
  142.  
  143.     String "OK" {
  144.         Justify CenterCenter;
  145.         Position [23, 10];
  146.     };
  147.  
  148.   Clicked Action StoreOptions;
  149. };
  150.  
  151. Button "GraphicsPopupOptions" {
  152.     ButtonStyle "GraphicsPopupOptionsButton";
  153.     Position [320, 263];
  154.  
  155.     String "Options" {
  156.         Justify CenterCenter;
  157.         Position [45, 10];
  158.     };
  159.  
  160.     Cancel;
  161.  
  162.     Clicked Action {
  163.         AddCancelAction Post Action {
  164.             Popup Group "OptionsParent";    
  165.         };
  166.     };
  167. };
  168.  
  169. //********************************
  170. //  Edit Boxes
  171. //********************************
  172. EditBox "GraphicsPopupsTitle" {
  173.     Style "GraphicsPopupTitleFont";
  174.     Position [12, 7];
  175.     Size [500, 30];
  176.     
  177.     String "Microsoft  NBA   Inside  Drive  2000" {
  178.         Justify CenterCenter;
  179.         Position [150,10];
  180.             };
  181. };
  182. EditBox "GraphicsPopupsMainText1" {
  183.     Style "GraphicsPopupMainText";
  184.     Position [15, 50];
  185.     Size [470, 14];    
  186.  
  187.     String "To enable your 3D card's hardware acceleration," {
  188.         Justify CenterCenter;
  189.         Position [235,7];
  190.             };
  191. };
  192. EditBox "GraphicsPopupsMainText2" {
  193.     Style "GraphicsPopupMainText";
  194.     Position [15, 80];
  195.     Size [470, 14];    
  196.  
  197.     String "click Options below and then click Video. In the" {
  198.         Justify CenterCenter;
  199.         Position [235,7];
  200.             };
  201. };
  202. EditBox "GraphicsPopupsMainText3" {
  203.     Style "GraphicsPopupMainText";
  204.     Position [15, 110];
  205.     Size [470, 14];    
  206.  
  207.     String "'3D Graphics Driver' list, click the name of your" {
  208.         Justify CenterCenter;
  209.         Position [235,7];
  210.             };
  211. };
  212. EditBox "GraphicsPopupsMainText4" {
  213.     Style "GraphicsPopupMainText";
  214.     Position [15, 140];
  215.     Size [470, 14];    
  216.  
  217.     String "driver, and then click OK.  If you encounter" {
  218.         Justify CenterCenter;
  219.         Position [235,7];
  220.             };
  221. };
  222. EditBox "GraphicsPopupsMainText5" {
  223.     Style "GraphicsPopupMainText";
  224.     Position [15, 170];
  225.     Size [470, 14];    
  226.  
  227.     String "graphics problems, try the software option." {
  228.         Justify CenterCenter;
  229.         Position [235,7];
  230.             };
  231. };
  232.  
  233. //********************************
  234. //  Groups
  235. //********************************
  236. Group "GraphicsPopup" {
  237.     Style "GraphicsPopupBack";
  238.     Root;
  239.     Position [150, 150];
  240.  
  241.     Children {
  242.         Button "GraphicsPopupOKButton";
  243.         Button "GraphicsPopupOptions";
  244.         CheckButton "GraphicsPopupShowAgainButton";
  245.         EditBox "GraphicsPopupsTitle";
  246.         EditBox "GraphicsPopupsMainText1";
  247.         EditBox "GraphicsPopupsMainText2";
  248.         EditBox "GraphicsPopupsMainText3";
  249.         EditBox "GraphicsPopupsMainText4";
  250.         EditBox "GraphicsPopupsMainText5";
  251.     };
  252. };
  253.  
  254. Group "OptionsParent" {
  255.     Children {
  256.         Include "UIScript\Options";
  257.     };
  258. };
  259.